package cn.liu.poi;

import java.util.Map;
import java.util.TreeMap;

/**
 * @author LIU
 * @version 1.0.0
 * @date 2025/7/3
 */
public class Test {
    public static void main(String[] args) {
        Map<String, Double> map = new TreeMap<String, Double>();
        map.put("A1",10.0);
        map.put("CC1",22.0);
        map.put("B1",22.0);
        map.put("AC1",22.0);
        map.put("D1",22.0);

        map.entrySet().stream().forEach(e -> System.out.println(e.getKey() + "=" + e.getValue()));
    }
}
